package com.geekchique.runningbuddy.util;

import java.util.Calendar;

import android.content.Context;
import android.database.Cursor;

import com.geekchique.runningbuddy.model.Jog;
import com.geekchique.runningbuddy.model.ListOfJogs;

public class MockDBHelper implements IDBHelper {
	private ListOfJogs mockListOfreturnedJogs;
	 
	public MockDBHelper() {
		
		mockListOfreturnedJogs = new ListOfJogs();
		Jog jog = new Jog();
		jog.set_id(11);
		jog.setName("jog1201902890834");
		jog.setStartTime(1202603521216L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202603522664L);
		jog.setStopTimeCal(null);
		
		mockListOfreturnedJogs.add(jog);
		
		jog.set_id(12);
		jog.setName("jog32424832969");
		jog.setStartTime(1202603524468L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202603524468L);
		jog.setStopTimeCal(null);

		mockListOfreturnedJogs.add(jog);
		
		jog.set_id(13);
		jog.setName("jog1202604486489");
		jog.setStartTime(1202604484767L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202604486482L);
		jog.setStopTimeCal(null);

		mockListOfreturnedJogs.add(jog);		
		
	}
	
	
	
	public void addJogEntry(Jog entry) {

	}

	public void close() {

	}

	public void createJoggingEntriesDB(Context ctx) {

	}

	public void deleteJogEntry(long Id) {

	}

	public ListOfJogs fetchAllJogEntries() {
		return null;
	}

	public ListOfJogs fetchAllJogEntries(Integer day, Integer month, Integer year) {
		return null;
	}

	public ListOfJogs fetchAllThisMonthsJogEntries(Calendar calendar) {
		return null;
	}

	public ListOfJogs fetchAllTodaysJogEntries() {
		return mockListOfreturnedJogs;
	}

	public Jog fetchJogEntry(long Id) {
		return null;
	}

	public Cursor getCursorOfAllJogs() {
		return null;
	}

	public void updateJogEntry(long Id, Jog entry) {

	}

}
